// FsharpCollection_BPA.cpp: implementation of the CFsharpCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FsharpCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFsharpCollection_BPA::CFsharpCollection_BPA()
{

}

CFsharpCollection_BPA::~CFsharpCollection_BPA()
{

}

CFsharp_BPA* CFsharpCollection_BPA::GetFirstFsharp()
{
	return (CFsharp_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFsharp_BPA* CFsharpCollection_BPA::Traverse(CFsharp_BPA *pFsharp, int nDirection)
{
	return (CFsharp_BPA*)CCardCollection_BPA::Traverse(pFsharp,nDirection);
}

CFsharp_BPA* CFsharpCollection_BPA::GetFsharp(char *strBusName, double dkV, char nID)
{
	CFsharp_BPA tempFsharp;
	strcpy(tempFsharp.m_strName,strBusName);
	tempFsharp.m_dkV = dkV;
	tempFsharp.m_chID = nID;
	return (CFsharp_BPA*)CCardCollection_BPA::GetCard(&tempFsharp);
}
